﻿/************************************************************************************
 *      Copyright (C) 2018 dawenyang,All Rights Reserved
 *      File:
 *                LoginModel.cs
 *      Description:
 *            登录之后返回的模型
 *      Author:
 *                Yangxianwen
 *                
 *                
 *      Finish DateTime:
 *                2018年01月11日
 *      History:
 ***********************************************************************************/


using System;

namespace MyDb.DoMain.Entity.SelfModel.Account
{
    public class LoginModel
    {
        /// <summary>
        /// -账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// - 真实姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 年龄 
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        /// 性别：0.保密，1.男，2.女
        /// </summary>
        public byte Sex { get; set; }

        /// <summary>
        /// 登录会话唯一值
        /// </summary>
        public string LoginToken { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 头像地址
        /// </summary>
        public string HeadImg { set; get; }

        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime LoginTime { get; set; }

        /// <summary>
        /// 角色集合字符串
        /// </summary>
        public string RoleIdsStr { get; set; }

    }
}
